annotation class Restrict(val min: Int = Int.MIN_VALUE, val max: Int = Int.MAX_VALUE) Annotation-driven validation for Ints
Author
fzzyhmstrs
Since
0.2.0
Parameters
: Int - minimum allowable value, default to Int.MIN_VALUE
: Int - maximum allowable value, default to Int.MAX_VALUE